package com.sgb.jicai.view.adapter;

import android.content.Context;

import com.sgb.jicai.BR;
import com.sgb.jicai.R;
import com.sgb.jicai.entity.JiCaiJoinInQuotedPriceCompanyEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
 * 加盟集采、参与报价  页面的 报价列表和加盟列表  适配器
 */
public class QuotedPriceJoinInAdapter extends BaseRecycleAdapter<JiCaiJoinInQuotedPriceCompanyEntity> {
    private Context context;

    public QuotedPriceJoinInAdapter(Context context, List<JiCaiJoinInQuotedPriceCompanyEntity> datas) {
        super(context, R.layout.item_quotedprice_joinin, datas);
        this.context = context;
    }

    @Override
    public void convert(ItemViewHolder holder, JiCaiJoinInQuotedPriceCompanyEntity entity) {
        holder.setBinding(BR.viewModel, entity);

    }

}
